package com.ravi.mapper;

import com.ravi.model.dto.CheckRoomDto;
import com.ravi.model.entity.CheckRoom;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

@Mapper
public interface CheckRoomMapper {
	List<CheckRoomDto> getAllCheckRoomDto();

	List<CheckRoom> getCheckRoomByRoomTypeId(@Param("roomTypeId") Integer roomTypeId);

	int insertCheckRoom(CheckRoom checkRoom);

	int updateCheckRoomByRoomId(CheckRoom checkRoom);

	CheckRoom getCheckRoomById(@Param("id") Integer id);
}
